﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="ManageTCUploadExcel.ascx.vb"
    Inherits="WebForm_ManageTCUploadExcel_ManageTCUploadExcel" %>
<div style="background-color: #351D26">
    <table width="100%" align="Center">
        <tr>
            <td align="left">
                <fieldset align="left" style="border-color: #4E333B;">
                    <legend>
                        <asp:Label ID="lblExcelUpdate" runat="server" meta:resourcekey="lblExcelUpdate"></asp:Label>
                    </legend>
                    <table>
                        <tr>
                            <td align="right">
                                <asp:Label ID="lblUploadType" runat="server" meta:resourcekey="lblUploadType"></asp:Label>
                            </td>
                            <td align="left">
                                <asp:DropDownList ID="ddlUploadType" runat="server">
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                <asp:Label ID="lblVersion" runat="server" meta:resourcekey="lblVersion"></asp:Label>
                            </td>
                            <td align="left">
                                <asp:UpdatePanel ID="up" runat="server" UpdateMode="conditional">
                                    <ContentTemplate>
                                        <asp:DropDownList ID="ddlVersion" runat="server">
                                        </asp:DropDownList>
                                        <asp:Label ID="lblDivision" runat="server" meta:resourcekey="lblDivision"></asp:Label>
                                        <asp:DropDownList ID="ddlDivision" runat="server" AutoPostBack="True" />
                                        <asp:Label ID="lblSignature" runat="server" meta:resourcekey="lblSignature"></asp:Label>
                                        <asp:DropDownList ID="ddlSignature" runat="server" AutoPostBack="True" />
                                        <asp:Label ID="lblEdition" runat="server" meta:resourcekey="lblEdition" Visible="false"></asp:Label>
                                        <asp:DropDownList ID="ddlEdition" runat="server" Visible="false">
                                        </asp:DropDownList>&nbsp;&nbsp;
                                        <asp:Label ID="lblCustomerGroup" runat="server" meta:resourcekey="lblCustomerGroup"></asp:Label>
                                        <asp:DropDownList ID="ddlCustomerGroup" runat="server">
                                        </asp:DropDownList>
                                    </ContentTemplate>
                                </asp:UpdatePanel>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                <asp:Label ID="lblFile" runat="server" meta:resourcekey="lblFile"></asp:Label>
                            </td>
                            <td align="left">
                                <asp:FileUpload ID="FileUpload1" runat="server" />
                                <asp:Button ID="btnUpload" CssClass="button" runat="server" meta:resourcekey="btnUpload"
                                    ValidationGroup="vtcExcel" />
                                <ajaxToolkit:ConfirmButtonExtender ID="cbeUpload" runat="server" TargetControlID="btnUpload"
                                    meta:resourcekey="cbeUpload">
                                </ajaxToolkit:ConfirmButtonExtender>
                                <asp:HyperLink ID="hlinklExcelUpdate" Font-Size="12px" meta:resourcekey="hlinklExcelUpdate"
                                    NavigateUrl="~/Download/UploadFinanceForecastExcel.xls" runat="server"></asp:HyperLink>
                                <asp:RequiredFieldValidator ID="rfvEdition" runat="server" meta:resourcekey="rfvEdition"
                                    SetFocusOnError="true" ValidationGroup="vsExcel" ControlToValidate="ddlEdition"
                                    Display="None"></asp:RequiredFieldValidator>
                                <asp:ValidationSummary ID="vs1" runat="server" ShowMessageBox="true" ShowSummary="false"
                                    ValidationGroup="vtcExcel" />
                            </td>
                        </tr>
                    </table>
                </fieldset>
            </td>
        </tr>
        <tr>
            <td>
                <fieldset id="plUpdateErrorMessage" style="border-color: #4E333B" runat="server">
                    <legend class="white2">
                        <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:plUpdateErrorMessage.GroupingText%>" />
                    </legend>
                    <asp:Panel ID="pl" runat="server" ScrollBars="Auto" Width="900px">
                        <table>
                            <tr>
                                <td align="center">
                                    <My:MyGridView ID="gv" SkinID="pager" Height="100%" runat="server" AutoGenerateColumns="true"
                                        AllowPaging="true" meta:resourcekey="gv">
                                    </My:MyGridView>
                                </td>
                            </tr>
                        </table>
                    </asp:Panel>
                </fieldset>
            </td>
        </tr>
    </table>
</div>
